package com.learn.converter.entity;

import com.learn.postprocessor.entity.PostProcessorTestEntity;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 *
 * @author daify
 * @date 2019-03-26 17:38
 **/
public class PostProcessorProfilesTest {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("converter/spring.xml");

        PostProcessorTestEntity entity = (PostProcessorTestEntity) context.getBean("postProcessorTest");
        System.out.println("entity name:" + entity.getName());

    }
}
